<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/WEB-INF/commons/taglibs.jsp" %>
<%@include file="/WEB-INF/commons/common-header.jsp" %>

<script src="${ctx }/resources/js/jquery.form.js" type="text/javascript"></script>
<script src="${ctx }/resources/js/youboy.login.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Insert title here</title>
<script type="text/javascript">
	$(function(){
		$("#username").focus();
		var b=new window.youboy.login();
 		b.captchas("${ctx}/captcha/medium", "next", "captchas").nextCaptcha;
		b.checkShow("checking","display").show;
		b.login("${ctx}").submit;
		b.login().keySubmit;
	});
</script>
</head>
<body>
<center>
    	<form id="login_form" method="post">
    	<div class="user">
        <div class="font1">用户名：</div>
        <div class="input1"><input type="text" name="username" id="username" /><em>&nbsp;&nbsp;找回登录名</em></div>
        </div>
        <div class="user">
        <div class="font1">密码：</div> 
        <div class="input1"><input type="password" name="password" id="password" onpaste="return false"  oncopy="return false" oncut="return false"/><em>&nbsp;&nbsp;找回密码</em></div>
        </div>
        <div class="user">
        <div class="font1">验证码：</div>
        <div class="input2"><input type="text" id="checking" class="check" name="captcha" /><span id="display" ><span id="captchas"><img src="${ctx }/captcha/medium" /></span><em><a id="next" href="javascript:void(0);">看不清，换一张？</a></em></span></div>
        </div>
        <div class="check1"><input id="loginSta" type="checkbox" checked="checked" value="true" name="loginSta"/>
                            <span>&nbsp;<a href="#">记住账号和密码</a></span>
        </div>
        <div class="buttom"><input id="sub" name="sub" type="button" value="登录"/></div>
        </form>
        <hr/>
        还有帐号？<a href="${ctx }/reg">注册</a>一个吧
</center>
</body>
</html>